//
//  ShootResultView.m
//  Dear
//
//  Created by 陈俊俊 on 15/8/17.
//  Copyright (c) 2015年 陈俊俊. All rights reserved.
//

#import "ShootResultView.h"

@implementation ShootResultView
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = RGBA(0, 0, 0, 0.5);
        self.userInteractionEnabled = YES;
        UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(dissmiss)];
        [self addGestureRecognizer:tap];
    }
    return self;
}

- (void)dissmiss{
    [self.delegate dissmissFromView];
}

@end
